import { nextTick, Ref } from "vue";

export const useTable = (tableRef: Ref) => {
  const getTableList = async () => {
    await nextTick();
    tableRef.value.getTableList();
  };
  return { getTableList };
};
